package com.test.rpc.server;

import com.test.rpc.api.HelloService;
import com.test.rpc.api.Person;
@RpcService(HelloService.class)
public class HelloServiceImpl implements HelloService {


    public String hello(String name) {
        return "Hello "+name;
    }

    public String hello(Person person) {
        return "Hello "+person.getFirstName()+" "+person.getLastName();
    }
}
